package com.moyun.finance.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 报销明细实体类
 */
@Entity
@Data
public class ReimbursementDetailed {
    @Id
    private String id;

    private String companyId;//公司id

    private String reimbursementId;//报销单id

    private String customerId;//供应商id

    private String task;//任务

    private String typeMenuId;//类别id

    private String date;//发生日期

    private String payee;//收款方

    private String reason;//费用事由

    private double money;//金额

    private int invoice;//有无发票  0:没有  1：有

    private String filePath;//附件路径

    private String reimbursementDate;//报销上报日期

    @Transient
    private Reimbursement reimbursement;//报销单对象

    @Transient
    private Customer customer;//供应商对象

    @Transient
    private TypeMenu typeMenu;//科目类别对象
}